# -*- coding: utf-8 -*-
class Person:
    def __init__(self,name,age):
        self.name = name
        self.age = age
    def say_hello(self):
        print('hello from ',self.name)

class Student(Person):
    def __init__(self,name,age,score):
        super().__init__(name,age)
        self.score = score

stu =Student('小明',15,95)
print("name:{} age:{} height:{} ".format(stu.name,stu.age,stu.score))
stu.say_hello()

